package com.wfuhui.modules.oms.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wfuhui.modules.oms.dao.SettingsDao;
import com.wfuhui.modules.oms.entity.SettingsEntity;
import com.wfuhui.modules.oms.service.SettingsService;



@Service("settingsService")
public class SettingsServiceImpl implements SettingsService {
	@Autowired
	private SettingsDao settingsDao;
	
	@Override
	public SettingsEntity queryObject(Integer id){
		return settingsDao.queryObject(id);
	}
	
	@Override
	public List<SettingsEntity> queryList(Map<String, Object> map){
		return settingsDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return settingsDao.queryTotal(map);
	}
	
	@Override
	public void save(SettingsEntity settings){
		settingsDao.save(settings);
	}
	
	@Override
	public void update(SettingsEntity settings){
		settingsDao.update(settings);
	}
	
	@Override
	public void delete(Integer id){
		settingsDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		settingsDao.deleteBatch(ids);
	}

	@Override
	public SettingsEntity queryOne() {
		return settingsDao.queryOne();
	}
	
}
